package com.ssms.common;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
public class MyData {
    private String token;

    private String role;

    private Object data;

    public MyData(String token, String role) {
        this.token = token;
        this.role = role;
    }

    public MyData(){

    }
    public MyData(String token, String role, Object data) {
        this.token = token;
        this.role = role;
        this.data = data;
    }

    public MyData(Object data) {
        this.data = data;
    }
}
